package com.chang.diy.service.impl;

import com.chang.diy.anno.Bean;
import com.chang.diy.anno.DI;
import com.chang.diy.dao.UserDao;
import com.chang.diy.service.UserService;

@Bean
public class UserServiceImpl implements UserService {

    @DI
    private UserDao userDao;

    @Override
    public void add() {
        System.out.println("service=>>>>>>add");
        userDao.add();
    }
}
